package main

import (
	"github.com/gin-gonic/gin"
	"week1/router"
	_ "week1/server/init"
)

func main() {
	r := gin.Default()

	router.Router(r)

	r.GET("/test", func(c *gin.Context) {
		c.JSON(200, gin.H{
			"message": "pong",
		})
	})

	r.Run(":8899")

}
